home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / quicktime / timecodes / qttimecode / common files / winprefix.h < prev   
Encoding:
Text File  |  2000-06-23  |  1.1 KB  |  38 lines

  1. // WinPrefix.h
  2. // prefix file for our Windows projects
  3.  
  4. #ifndef __Prefix_File__
  5. #define __Prefix_File__
  6.  
  7. #if !defined(_MSC_VER)
  8. #include <Win32Headers.mch>
  9. #else
  10. #include <ConditionalMacros.h>
  11. #endif
  12.  
  13. // Definitions for the project
  14. #define DEBUG                            0
  15. #define ONLY_ENCODED_SCRIPTS            0
  16. #define PROFILING_ON                    0
  17. #undef QD3D_NO_DIRECTDRAW
  18.  
  19. #ifndef QD3D_AVAIL
  20. #define QD3D_AVAIL                        !TARGET_CPU_68K
  21. #endif
  22. #ifndef SOUNDSPROCKET_AVAIL
  23. #define SOUNDSPROCKET_AVAIL                TARGET_CPU_PPC
  24. #endif
  25. #ifndef PASCAL_RTN
  26. #define PASCAL_RTN
  27. #endif
  28.  
  29. // if we're being compiled by Microsoft Visual C++, turn off some warnings
  30. #if defined(_MSC_VER) && !defined(__MWERKS__) 
  31.     #pragma warning(disable:4068)        // ignore unknown pragmas
  32.     #pragma warning(disable:4244)        // ignore conversion from "long" to "short", possible loss of data
  33.     #pragma warning(disable:4761)        // ignore integral size mismatch in argument: conversion supplied
  34.     #pragma warning(disable:4129)        // ignore 'p': unrecognized character escape sequence
  35.     #pragma warning(disable:4229)        // ignore anachronism used: modifiers on data are ignored
  36. #endif
  37.  
  38. #endif    // __Prefix_File__